/**
 * output package name
 */
package com.kingdee.eas.custom.hr.attendance;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class OverTimePlanEnum extends IntEnum
{
    public static final int NO_VALUE = 0;
    public static final int YES_VALUE = 1;

    public static final OverTimePlanEnum NO = new OverTimePlanEnum("NO", NO_VALUE);
    public static final OverTimePlanEnum YES = new OverTimePlanEnum("YES", YES_VALUE);

    /**
     * construct function
     * @param integer overTimePlanEnum
     */
    private OverTimePlanEnum(String name, int overTimePlanEnum)
    {
        super(name, overTimePlanEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static OverTimePlanEnum getEnum(String overTimePlanEnum)
    {
        return (OverTimePlanEnum)getEnum(OverTimePlanEnum.class, overTimePlanEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static OverTimePlanEnum getEnum(int overTimePlanEnum)
    {
        return (OverTimePlanEnum)getEnum(OverTimePlanEnum.class, overTimePlanEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(OverTimePlanEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(OverTimePlanEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(OverTimePlanEnum.class);
    }
}